package Demo.demo1;

public class B extends A{
    int r = 134110;
    public void number() {
        System.out.println("子类方法");
    }

    @Override
    public void ABC(A a){
       super.ABC(a);
        System.out.println("在子类构造器里");
    }


    public static void main(String[] args) {
        A a = new B();

        a.number();

        System.out.println(a.r);


    }
}
